<?php 
 header("Content-type:text/html;charset=utf-8");
 //用户案例
$user1=array(
	'username'=>'wangning',
	'password'=>'100330',
	'realname'=>'王宁',
	'sex'=>'女',
	'thumb'=>'thumb/wangning.jpg',
	'emall'=>'wangning14@nou.com.cn');
$user2=array(
	'username'=>'zhangsan',
	'password'=>'111111',
	'realname'=>'张三',
	'sex'=>'女',
	'thumb'=>'thumb/wangning.jpg',
	'emall'=>'wangning14@nou.com.cn');
$users=array();
$users[]=$user1;
$users[]=$user2;
	var_dump($users);
foreach ($users as $one => $value)
	//echo '用户名: ' .$one['username'].'<br>';
	//echo '姓名: ' .$one['realname'].'<br>';
	//for($i=0;$i<count($users);$s++){
	//$one=$users[$i];
	//}
	//数组，电影（列表），电视剧（列表）
	//'catid'=>'1',
	//cat=>'dianying',
	//'video'=>'array()'
	/*$movie=array(
		'categoty_id'=>1,
		'categoty_name'=>'电影',
		'video'=array($video1,$video2)
		);
		$video[]=$movies*/
?>

